// import http from '../request/axios';
import http from 'request/axios';
import { user as Api } from 'request/api';

const loginService = {
    login(params) {
        return http.post(Api.login, params);
    },
    getById() {
        return http.get(Api.getById);
    }
};

export default loginService;
